package top.z.orm.handle.osql.dialect;

import top.z.orm.core.osql.dialect.DbFeature;
import top.z.orm.core.osql.exception.NotSupportedException;

public class NoPageSupported implements DbFeature {

    @Override
    public String toPageSql(String sql, int start, int size) {
        throw new NotSupportedException("Select result did not support paging! You can set the DbFeature implements class with HoneyFactory.");
    }

    @Override
    public String toPageSql(String sql, int size) {
        throw new NotSupportedException("Select result did not support paging! You can set the DbFeature implements class with HoneyFactory.");
    }
}
